<!doctype html>
<html>

<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<link href="../../css/global.css" rel="stylesheet" type="text/css">
	<link href="../../js/webuploader/webuploader.css" rel="stylesheet" type="text/css">
	<title class="body_title">新增</title>
</head>

<body>
	<!--栏目列表-->
	<div class="left_menu">
		<div class="sub">
		</div>
	</div>
	<!--/栏目列表-->
	<div class="right_con">
		<div class="card">
			<div class="title"><span class="body_title">新增</span>
				<div class="cfr">
					<div class="tico full">
						<i class="iconfont icon-quanping"></i>
					</div>
				</div>
			</div>
			<div class="tipbox">
			</div>
			<div class="infoBox">
				<div class="boxs">
					<!--基本信息-->
					<div class="box">
						<div class="sub">
							<span>基本信息</span>
							<div class="r_toggle" toggle=".ifo1" toggletext="&#xe74a;,&#xe749;" open>&#xe74a;</div>
						</div>
						<div class="form ifo1 validform" ly-get="{{apiUrl}}/back/team/selectTeamById">
							<input id="id" type="hidden" ly-bind="id" />

							<div class="row" gutter="10">
								<div class="label"><em>*</em>部门名称：</div>
								<div class="col-7">
									<input type="text" class="required ipt" name="teamName" id="teamName"
										ly-bind="teamName" placeholder="请输入部门名称" data-tip="请输入部门名称"
										data-valid="isNonEmpty||between:0-25" data-error="部门名称不能为空||部门名称长度必须在0-25之间">
								</div>
							</div>
							<div class="row" gutter="10">
								<div class="label"><em>*</em>部门编码：</div>
								<div class="col-7">
									<input type="text" class="required ipt" name="teamCode" id="teamCode"
										ly-bind="teamCode" placeholder="请输入部门编码" data-tip="请输入部门编码"
										data-valid="isNonEmpty||between:0-30" data-error="部门编码不能为空||部门编码长度必须在0-30之间">
								</div>
							</div>
							<div class="row" gutter="10">
								<div class="label">部门级别：</div>
								<div class="col-7">
									<div id="teamLevel" name="teamLevel"></div>
								</div>
							</div>

							<div class="row hide" gutter="10" id="teamParent">
								<div class="label"><em>*</em>选择上级部门：</div>
								<div class="col-7">
									<select id="parentId" name="parentId" class="set" ly-type="select"
										placeholder="请选择上级部门" data-tip="请选择上级部门" data-valid="isNonEmpty"
										data-error="上级部门不能为空"></select>
								</div>
							</div>

							<div class="row hide" gutter="10">
								<div class="label">选择负责人：</div>
								<div class="col-7">
									<select id="userId" name="userId" class="set" ly-type="select"
										placeholder="请选择负责人"></select>
								</div>
							</div>

							<div class="row" gutter="10">
								<div class="label"><em>*</em>选择工种：</div>
								<div class="col-7">
									<div id="workerId" name="workerId" class="" placeholder="请选择工种" data-tip="请选择工种"
										data-valid="isNonEmpty" data-error="工种不能为空">

									</div>
								</div>
							</div>

							<div class="row" gutter="10">
								<div class="label"><em>*</em>部门简介：</div>
								<div class="col-7">
									<textarea class="txa required" placeholder="请输入部门简介" ly-bind="teamContext"
										id="teamContext" name="teamContext" data-tip="请输入部门简介" maxlength="200"
										data-valid="isNonEmpty||between:0-200"
										data-error="部门简介不能为空||部门简介长度必须在0-200之间"></textarea>
								</div>
							</div>

							<div class="row" gutter="10">
								<div class="label">是否启用：</div>
								<div class="col-7">
									<div id="isUsing" name="isUsing"></div>
								</div>
							</div>

						</div>
					</div>
					<div class="btnBox">
						<div class="fr">
							<button class="btn red " id="save-btn-commodityClassification">保存</button>
							<button class="btn goback" onclick="window.history.back()">返回</button>
						</div>
					</div>
				</div>
			</div>
		</div>
</body>
<script id="jquery_js" src="../../js/jquery-1.11.1.min.js"></script>
<script id="config_js" src="../../js/config.js"></script>
<script id="ly_main_js" src="../../js/ly_main.js"></script>
<script src="../../js/jquery-validate.js"></script>
<script src="../../js/webuploader/webuploader.min.js"></script>
<script src="../../js/simpleuploader.js"></script>
<script src="../../js/common.js"></script>
<script src="../../js/ourJs/team/team-creat.js?v=1"></script>

</html>